
<#-- 导入模版定义文件-->
<#include "../template/template_editPage.ftl">
<@edit title="角色操作">
	<#if (pt.id)??>
		<#assign isEdit = true />
	<#else>
		<#assign isAdd = true />
	</#if>
	<body class="input">
	<script type="text/javascript">
	
	</script>
		<div class="body">
			<div class="inputBar">
				<h1><span class="icon">&nbsp;</span><#if isEdit??>编辑价格模版<#else>添加价格模版</#if></h1>
			</div>
			<div style="display: none;" id="validateErrorContainer" class="validateErrorContainer">
				<div class="validateErrorTitle">以下信息填写有误,请重新填写</div>
				<ul></ul>
			</div>			
			<form id="validateForm" class="validate" method="post" action="<#if isAdd??>${web_base}/recharge/price_template!add.htm<#else>${web_base}/recharge/price_template!update.htm</#if>">
			<table class="inputTable tabContent">
			<tr>
				<th>代理商:<input type="hidden" name="pt.id" value="<#if isEdit??>${(pt.id)!}</#if>" ></th>
				<td><input type="text" class="formText" name="pt.agemtName" value="${(pt.agentName)!}" ><label class="requireField">*</label></td>
			</tr>
			
			<tr>
				<th>代理商价格:</th>
				<td><input type="text" class="formText" name="pt.agentPrice" value="${(pt.agentPrice)!}" ><label class="requireField">*</label></td>
			</tr>
			<tr>
				<th>门店:</th>
				<td><input type="text" class="formText" name="pt.sellerName" value="${(pt.sellerName)!}" ><label class="requireField">*</label></td>
			</tr>
			<tr>
				<th>门店价格:</th>
				<td><input type="text" class="formText" name="pt.sellerPrice" value="${(pt.sellerPrice)!}" ><label class="requireField">*</label></td>
			</tr>
			<table>
			<div class="buttonArea">
				<input type="submit" class="formButton" value="<#if isAdd??>添加<#else>修改</#if>" hidefocus="true" />&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" class="formButton" onclick="window.history.back(); return false;" value="返  回" hidefocus="true" />
			</div>
			</form>
		</div>
	</body>

</@edit>